package com.lianqi.emcpframework.data.masker.stratgey;
import com.lianqi.emcpframework.data.masker.annotation.MaskData;
import com.lianqi.emcpframework.utils.StringUtils;


/**
 * @program emcp-framework
 * @ClassName ToNullStrategy
 * @description: 转换为null策略实现类
 * @author: sky
 * @create: 2019/05/26 19:29
 */
public class ToNullStrategy implements DataMaskStrategy<String> {


    @Override
    public int defaultMaskLeft() {
        return 0;
    }

    @Override
    public int defaultMaskRight() {
        return 0;
    }

    @Override
    public String maskValue(Object value, MaskData maskData) {
        return null;
    }
}
